package com.bwhx.eruler.bean;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.sun.jmx.snmp.Timestamp;

/**
 * 客户-被扫瞄者
 * @author Cuilitang
 *
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(Include.NON_NULL)
public class CScanData implements Serializable {

	private int id;
	private String typename;
	private String shuzhi;
	private String category;
	private int userid;
	private Long uploaddatetime;
	private int uploadstate;
	private Customer customer;

	

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public CScanData() {
		super();
	}

	public CScanData(String typename, String shuzhi, Long uploaddatetime,int uploadstate) {
		this.typename = typename;
		this.shuzhi = shuzhi;
		this.uploaddatetime = uploaddatetime;
		this.uploadstate = uploadstate;
	}
	
	public CScanData(String category,String typename, String shuzhi, Long uploaddatetime,int uploadstate) {
		this.category = category;
		this.typename = typename;
		this.shuzhi = shuzhi;
		this.uploaddatetime = uploaddatetime;
		this.uploadstate = uploadstate;
	}
	
	public Customer getCustomer() {
		return customer;
	}
	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
	
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTypename() {
		return typename;
	}
	public void setTypename(String typename) {
		this.typename = typename;
	}
	public String getShuzhi() {
		return shuzhi;
	}
	public void setShuzhi(String shuzhi) {
		this.shuzhi = shuzhi;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	
	public Long getUploaddatetime() {
		return uploaddatetime;
	}

	public void setUploaddatetime(Long uploaddatetime) {
		this.uploaddatetime = uploaddatetime;
	}

	public int getUploadstate() {
		return uploadstate;
	}
	public void setUploadstate(int uploadstate) {
		this.uploadstate = uploadstate;
	}
	
	@Override
	public String toString() {
		return "CScanData [typename=" + typename + ", shuzhi=" + shuzhi + ", userid=" + userid + "]";
	}
	
	

}
